package com.ruoyi.web.controller.mapper;

import java.util.List;
import com.ruoyi.web.controller.demo.domain.SysWarehouseUse;
import com.ruoyi.web.controller.demo.domain.SysWarehouse;
import org.apache.ibatis.annotations.Mapper;

/**
 * sys_warehouse_useMapper接口
 * 
 * @author ruoyi
 * @date 2023-01-02
 */
@Mapper
public interface SysWarehouseUseMapper 
{
    /**
     * 查询sys_warehouse_use
     * 
     * @param id sys_warehouse_use主键
     * @return sys_warehouse_use
     */
    public SysWarehouseUse selectSysWarehouseUseById(Long id);

    /**
     * 查询sys_warehouse_use列表
     * 
     * @param sysWarehouseUse sys_warehouse_use
     * @return sys_warehouse_use集合
     */
    public List<SysWarehouseUse> selectSysWarehouseUseList(SysWarehouseUse sysWarehouseUse);

    /**
     * 新增sys_warehouse_use
     * 
     * @param sysWarehouseUse sys_warehouse_use
     * @return 结果
     */
    public int insertSysWarehouseUse(SysWarehouseUse sysWarehouseUse);

    /**
     * 修改sys_warehouse_use
     * 
     * @param sysWarehouseUse sys_warehouse_use
     * @return 结果
     */
    public int updateSysWarehouseUse(SysWarehouseUse sysWarehouseUse);

    /**
     * 删除sys_warehouse_use
     * 
     * @param id sys_warehouse_use主键
     * @return 结果
     */
    public int deleteSysWarehouseUseById(Long id);

    /**
     * 批量删除sys_warehouse_use
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysWarehouseUseByIds(String[] ids);

    /**
     * 批量删除sys_warehouse
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysWarehouseByIds(String[] ids);
    
    /**
     * 批量新增sys_warehouse
     * 
     * @param sysWarehouseList sys_warehouse列表
     * @return 结果
     */
    public int batchSysWarehouse(List<SysWarehouse> sysWarehouseList);
    

    /**
     * 通过sys_warehouse_use主键删除sys_warehouse信息
     * 
     * @param id sys_warehouse_useID
     * @return 结果
     */
    public int deleteSysWarehouseById(Long id);
}
